package com.csg.ses.service.ses;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csg.ses.entity.ses.SysRolesEntity;
import com.csg.ses.vo.common.IdListVo;
import com.csg.ses.vo.common.Result;
import com.csg.ses.vo.list.RoleVo;

import java.util.List;

/**
 * 角色信息
 * @author wangjun
 * @date 2020/11/16
 */
public interface SysRolesService extends IService<SysRolesEntity> {
    Result retrieve(SysRolesEntity role, Long current, Long size);
    List<String> getUserRoles(String loginId);
    Result del(IdListVo idList);
    Result getById(String id);
    String save(RoleVo roleVo);
    Result dropData();
    Result cascadeDrop();
    Integer getNextId();
    boolean saveOredit(SysRolesEntity sysRolesEntity);
    Integer getNextrolerRightId();

}